Hi! This is Ashutosh Kumar Verma. I am a software developer at MindStick Software Pvt Ltd since 2021. I have added some new and interesting features to the MindStick website like a story section, audio section, and merge profile feature on MindStick subdomains, etc. I love coding and I have good knowledge of SQL Database.
In SQL Server, you can use the FORMAT function or CONVERT function to change the Date format. Some of them are given below, Sample SQL Table: ‘Employees’ with the columns “EmpId, EmpName, CreationDate, Gender, Salary”
Example-
Using FORMAT()
Using CONVERT()
1.
2.
Liked By
Write Answer
How to change the date format in SQL Server?
Join MindStick Community
You have need login or register for voting of answers or question.
Ashutosh Kumar Verma
15-Oct-2024In SQL Server, you can use the
FORMAT
function orCONVERT
function to change the Date format. Some of them are given below,Sample SQL Table: ‘Employees’ with the columns “EmpId, EmpName, CreationDate, Gender, Salary”
Example-
Using FORMAT()
Using CONVERT()
1.
2.